package com.ruoyi.bantong.service;

import java.util.List;
import com.ruoyi.bantong.domain.BtPlacecardGroup;

/**
 * 红包包组Service接口
 * 
 * @author laohei
 * @date 2021-03-26
 */
public interface IBtPlacecardGroupService 
{
    /**
     * 查询红包包组
     * 
     * @param id 红包包组ID
     * @return 红包包组
     */
    public BtPlacecardGroup selectBtPlacecardGroupById(Integer id);


    /**
     * 查询红包包组 将要获得的金额
     *
     * @param level 等级
     * @return 红包包组
     */
    public BtPlacecardGroup getBtPlacecardGroupByLevel(Integer level,Integer userId) throws Exception;

    /**
     * 查询红包包组列表
     * 
     * @param btPlacecardGroup 红包包组
     * @return 红包包组集合
     */
    public List<BtPlacecardGroup> selectBtPlacecardGroupList(BtPlacecardGroup btPlacecardGroup);

    /**
     * 新增红包包组
     * 
     * @param btPlacecardGroup 红包包组
     * @return 结果
     */
    public int insertBtPlacecardGroup(BtPlacecardGroup btPlacecardGroup);

    /**
     * 修改红包包组
     * 
     * @param btPlacecardGroup 红包包组
     * @return 结果
     */
    public int updateBtPlacecardGroup(BtPlacecardGroup btPlacecardGroup);

    /**
     * 批量删除红包包组
     * 
     * @param ids 需要删除的红包包组ID
     * @return 结果
     */
    public int deleteBtPlacecardGroupByIds(Integer[] ids);

    /**
     * 删除红包包组信息
     * 
     * @param id 红包包组ID
     * @return 结果
     */
    public int deleteBtPlacecardGroupById(Integer id);
}
